<template>
  <div class="address-item">
    <div class="address-item__img">
      <img src="../../assets/avatar.png"/>
    </div>
    <div class="address-item__name">
      <span v-text="employee.name"></span>
    </div>
    <i class="fa fa-chevron-right fa-fw"></i>
  </div>
</template>
<script>
  export default {
    props:['employee']
  }
</script>
<style scoped lang="scss">
  @import '../../base/css/_base';
  .address-item {
    background: #fff;
    padding:10px 10px;
    border-bottom: 1px solid #eeeeee;
    @include flex-left;
    .address-item__img {
      width: 30px;
      height: 30px;
      vertical-align: middle;
      img{
        width: 100%;
        height:100%;
        border-radius: 2px;
      }
    }
    .address-item__name {
      @include fz(6px);
      margin: 0 10px;
      line-height: 35px;
      flex: 1;
    }
    i{
      line-height: 2.0;
      color: #c8c8cd;
    }
  }
</style>
